<?php

namespace app\index\validate;


use think\Validate;

class Profile extends Validate
{
    protected $rule = [
        'username'  =>  'chsDash',
        'mobile'    =>  'mobile',
        '__token__' =>  'token',
    ];

    protected $message = [
        'username.chsDash'  =>  '用户名格式错误',
        'mobile.mobile'     =>  '手机号无效',
    ];
}